home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
dev
/
misc
/
egs.lha
/
EGS
/
EGS_Devels
/
doc
/
gbselect.doc
< prev
next >
Wrap
Text File
|
1993-02-16
|
2KB
|
104 lines
/*
* $
* $ FILE : gbselect.doc
* $ VERSION : 1
* $ REVISION : 1
* $ DATE : 08-Feb-93 10:00
* $
* $ Author : mvk
* $
*
*
* (c) Copyright 1990/93 VIONA Development
* All Rights Reserved
*
*/
gbselect.library/EGB_CreateSelectGadget
gbselect.library/EGB_CreateTextSelectGadget
gbselect.library/EGB_ModifySelectGadget
gbselect.library/EGB_CreateSelectGadget
NAME
EGB_CreateSelectGadget create a gadbox select gadget
SYNOPSIS
box = EGB_CreateSelectGadget(con, id, elems);
D0 A0 D0 A1
EB_GadBoxPtr box;
EB_GadContext con;
LONG id;
EGB_GadBoxArrayPtr elems;
FUNCTION
Creates a gadbox select gadget. These gadgets offer several choices,
one of them is active at any time. The active one is displayed. If the
user clicks on the gadget, the next (or prev using shift) one becomes
active and displayed.
INPUTS
con : The associated gadget context
id : The gadgets id
elems : An array of EB_GadBoxPtr. Each of them represents one choice.
RESULT
gbselect.library/EGB_CreateTextSelectGadget
NAME
EGB_CreateTextSelectGadget creates a select gadget with text items
SYNOPSIS
box = EGB_CreateTextSelectGadget(con , id, elems);
D0 A0 D0 A1
EB_GadBoxPtr box;
EB_GadContext con;
LONG id;
EB_StrArrayPtr elems;
FUNCTION
Creates a gadbox select gadget with text choices. (see
EGB_CreateSelectGadget for more information).
INPUTS
con : Associated gadget context
id : The gadgets id
elems : An array of strings, each representing one choice.
RESULT
gbselect.library/EGB_ModifySelectGadget
NAME
EGB_ModifySelectGadget
SYNOPSIS
EGB_ModifySelectGadget(win, gad, num);
A0 A1 D0
EI_WindowPtr win;
EI_GadgetPtr gad;
WORD num;
FUNCTION
Changes the active element of a select gadget.
INPUTS
win : The window, that contains the gadget; if NULL, no refresh is done
gad : The select gadget
num : The number of the element to become the active one
RESULT